driver/ldpaa_eth: Retry enqueue if portal was busy
authorPrabhakar Kushwaha <[email protected]>
Thu, 2 Jul 2015 05:59:05 +0000 (11:29 +0530)
committerYork Sun <[email protected]>
Mon, 20 Jul 2015 18:44:37 +0000 (11:44 -0700)
commite48df52b69069dac7f00841fc89701604c5f1bef
tree97c1f5307056476dfef673364132f636ba4c2078
parent70e52d211533c45f0d26c4d87cbeee31560fbe04
driver/ldpaa_eth: Retry enqueue if portal was busy

Do not immediately return if the enqueue function returns -EBUSY; re-try
mulitple times.

if timeout occures, release the buffer.

Signed-off-by: Prabhakar Kushwaha <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
Reviewed-by: York Sun <[email protected]>
drivers/net/ldpaa_eth/ldpaa_eth.c